Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 3 - Appendixes
Appendix A - The Language at a Glance


Placeholders

Table A-11 explains the placeholders used in the syntax descriptions in
this appendix.
Placeholders used in syntax descriptions
PlaceholderExplanation
applicationNameA string containing the name of the application as it would be listed in the Application menu, or a string of the form "Disk:Folder1:Folder2:...:ApplicationName" that specifies where the application is stored. For more information, see page 145.
attributeAn attribute, identified by a constant, that can be considered
or ignored in a Considering or Ignoring control statement.
The constants for attributes are case, white space, diacriticals, hyphens, expansion, punctuation, and application responses.
BooleanAn expression that evaluates to true or false. (Boolean is an AppleScript value class. For more information about Boolean values, see page 38.)
classNameA class identifier or an expression that evaluates to an object
class identifier.
commandNameAn identifier (name) for a command.
commandStatementA statement, consisting of a command with either parameter values or formal parameters, to be passed to a parent script object.
compoundValueAn expression that evaluates to a compound value (a list, record,
or string).
containerReferenceA reference that specifies a container for another object.
dataValueAn expression that evaluates to a value of the appropriate class for the object being created.
dateAn expression that evaluates to a date. (Date is an AppleScript value class. For more information about dates, see page 42.)
directParameterThe direct parameter of a subroutine definition.
directParameterVariableA parameter variable used as a placeholder for the value of the direct parameter in a subroutine definition.
errorMessageAn expression, usually a string, that describes an error.
errorMessageVariableA parameter variable for the expression that describes the error.
errorNumberThe error number for the error.
 
errorNumberVariableA parameter variable for the error number.
expectedTypeA class identifier for the value class to which AppleScript was attempting to coerce a value when an error occurred.
expectedTypeVariableA parameter variable for the value class to which AppleScript was attempting to coerce a value when an error occurred.
expressionA series of AppleScript words whose value is a Boolean, class identifier, constant, data, date, integer, list, real, record, reference,
or string.
handlerDefinitionA command or subroutine handler definition.
IDvalueAn expression that evaluates to an object's ID property. For most objects, the ID property is an integer.
integerAn expression that evaluates to an integer. (Integer is an AppleScript value class. For more information about integers,
see page 46.)
labelAn identifier for a parameter.
labelForFalseParamAn identifier for a Boolean parameter whose value is false.
labelForTrueParamAn identifier for a Boolean parameter whose value is true.
listAn expression that evaluates to a list.
listOfFilesA list of references, each of which has the form file "Disk:Folder1:Folder2:...:Filename" or alias "Disk:Folder1:Folder2:...:Filename" and specifies a file.
For more information , see page 143.
nameStringA string of the form "Disk:Folder1:Folder2:...:FileName" that specifies where a file is stored. For more information, see page 143.
numberAn expression that evaluates to an integer or real number.
offendingObjectA reference to an object that caused an error.
offendingObjectVariableA parameter variable for the reference to the object that caused
an error.
parameterValueAn expression that evaluates to a value of a parameter.
 
paramVariableA parameter variable (also known as a formal parameter) used as a placeholder for the value of a parameter in a handler definition.
pluralClassNameA plural class identifier or an expression that evaluates to a plural class identifier.
propertyLabelThe identifier for a property of an object, or an expression that evaluates to the identifier for a property of an object.
propertyValueAn expression that evaluates to a value of the appropriate class for the property being defined.
realAn expression that evaluates to a real number. (Real is an AppleScript value class. For more information about real numbers, see page 52.)
recordAn expression that evaluates to a record. (Record is an AppleScript value class. For more information about records, see page 53.)
referenceA reference that specifies an object or location. (For more information about references, see Chapter 5, "Objects and References.")
referencePatternA reference, a list of reference patterns, or a record of
reference patterns.
referenceToApplicationA reference of the form application "Disk:Folder1:Folder2:
...:ApplicationName"
that specifies an application. For more information, see page 145.
referenceToFileA reference of the form file "Disk:Folder1:Folder2:...:
Filename"
or alias "Disk:Folder1:Folder2:...:Filename" that specifies a file. For more information , see page 143.
referenceToLocationA reference that specifies a location. (For more information about locations, see "Parameters That Specify Locations" on page 80.)
referenceToObjectA reference that specifies an object or objects. (For more information about references, see Chapter 5, "Objects and References.")
resultListList of results for objects that were handled before an error occurred.
 
resultListVariableA parameter variable for a list of results for objects that were handled before an error occurred.
saveOptionA constant (yes, no, or ask) that specifies whether to save an object that has been modified before closing it.
scriptObjectVariableA variable whose value is a script object. (For more information about script objects, see Chapter 9, "Script Objects.")
sessionAn object that specifies a specific session.
statementAn AppleScript statement.
stringAn expression that evaluates to a string. (String is an AppleScript value class. For more information about strings, see page 59.)
subroutineNameAn identifier (name) for a subroutine.
subroutineParamLabelAny of the following labels: above, against, apart from, around, aside from, at, below, beneath, beside, between, by, for, from, instead of, into, on, onto, out of, over, thru (or through), under.
timeDifferenceAn integer specifying a time difference in seconds.
variableA variable (a user-defined identifier that represents a value).
variablePatternA variable, a list of variable patterns, or a record of
variable patterns.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996